package com.probox.common.entity.vo.im;

public class MessageQuery implements java.io.Serializable{

	private static final long serialVersionUID = 2891178645075974153L;
	private String role;

	//最小的消息ID
	private Long messageId;

	//客户ID
	private Long customerUid;

	private Integer pageNo;

	private Integer pageSize;

	public int getPageNo() {
		if (pageNo == null){ return 1;}
		return pageNo;
	}

	public void setPageNo(Integer pageNo) {
		this.pageNo = pageNo;
	}

	public int getPageSize() {
		if (pageSize == null){ return 10;}
		return pageSize;
	}

	public void setPageSize(Integer pageRow) {
		this.pageSize = pageRow;
	}

	public Long getCustomerUid() {
		return customerUid;
	}

	public void setCustomerUid(Long customerUid) {
		this.customerUid = customerUid;
	}

	public Long getMessageId() {
		return messageId;
	}

	public void setMessageId(Long messageId) {
		this.messageId = messageId;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}


}
